package com.weizhong.update.model;

import java.io.Serializable;

import android.R.integer;

public class AppEntity implements Serializable{
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	//id 编号 int 
	private int id = 0;
	
	//appName 应用名 varchar
	private String seriess = "";
	
	//appName 应用名 varchar
	private String appName = "";
	
	//package 包名 varchar com.wizhong.im
	private String packageName = "";
	
	//size 大小 long 3653230
	private long apkSize = 0;
	
	//apkPath 安装包路径 varchar 
	private String apkPath = "";
	
	//verName 显示版本 varchar 2.5
	private String verName = "";
	
	//verCode 版本号 long 120
	private long verCode = 0;
	
	//action 行为标识 int 1=此版本较新则更新,2=强制更新到此版本,3=卸载应用,4=仅卸载当前版本
	private int action;
	
	//updateTime 更新时间 long 最后更新毫秒时间
	private long updateTime;
	
	//updateDes 更新描述 varchar 
	private String updateDes;
	
	//appType 应用类型 int 0=预装应用,1=系统应用
	private int appType;
	
	//创建桌面图标,0=不创建, 1=创建
	private int isDeskTop;
	
	//是否下载完成
	private boolean downloadSuccess;

	//是否更新成功
	private boolean updateSuccess;
	
	//下载号
	private int downloadid;
	
	public int getId() {
		return id;
	}
	
	public void setID(int id) {
		this.id = id;
	}
	
/*	public String getSeriess() {
		return seriess;
	}
	
	public void setSeriess(String seriess) {
		this.seriess = seriess;
	}*/
	
	public String getAppName() {
		return appName;
	}
	
	public void setAppName(String appName) {
		this.appName = appName;
	}
	
	public String getPackageName() {
		return packageName;
	}
	
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	
	public long getApkSize() {
		return apkSize;
	}
	
	public void setApkSize(long apkSize) {
		this.apkSize = apkSize;
	}
	
	public String getApkPath() {
		return apkPath;
	}
	
	public void setApkPath(String apkPath) {
		this.apkPath = apkPath;
	}
	
	public String getVerName() {
		return verName;
	}
		
	public void setVerName(String verName) {
		this.verName = verName;
	}
	
	public long getVerCode() {
		return verCode;
	}

	public void setVerCode(long verCode) {
		this.verCode = verCode;
	}

	public int getAction() {
		return action;
	}

	public void setAction(int action) {
		this.action = action;
	}

	public long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateDes() {
		return updateDes;
	}

	public void setUpdateDes(String updateDes) {
		this.updateDes = updateDes;
	}

	public int getAppType() {
		return appType;
	}

	public void setAppType(int appType) {
		this.appType = appType;
	}

	public int getIsDeskTop() {
		return isDeskTop;
	}

	public void setIsDeskTop(int isDeskTop) {
		this.isDeskTop = isDeskTop;
	}
	
	public boolean isDownloadSuccess() {
		return downloadSuccess;
	}

	public void setDownloadSuccess(boolean downloadSuccess) {
		this.downloadSuccess = downloadSuccess;
	}

	public boolean isUpdateSuccess() {
		return updateSuccess;
	}

	public void setUpdateSuccess(boolean updateSuccess) {
		this.updateSuccess = updateSuccess;
	}
	
	public int getDownloadID() {
		return downloadid;
	}

	public void setDownloadID(int downloadid) {
		this.downloadid = downloadid;
	}
	
}
